.TH socket_mcleave4 3
.SH NAME
socket_mcleave4 \- leave a multicast group
.SH SYNTAX
.B #include <socket.h>

int \fBsocket_mcleave4\fP(int \fIs\fR, const char \fIgroupip\fR[4]);
.SH DESCRIPTION
socket_mcleave4 leaves the IPv4 multicast group \fIgroupip\fR.

If something goes wrong, socket_mcleave4 returns -1, setting errno
appropriately.
.SH "SEE ALSO"
socket_mcjoin4(3), socket_mcleave6(3), socket_getifidx(3)
